package com.lxq.entity;

import com.baomidou.mybatisplus.annotation.TableId;

/**
 * @author 龙小虬
 * @date 2021/4/22 20:46
 */
public class User {
    @TableId
    private int id;
    private String name;
    private String age;

    public User(int id, String name, String age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public User(String name, String age) {
        this.name = name;
        this.age = age;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
